package com.baobao.service;

import com.baobao.domain.Banji;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Banji entities
 * 
 */
public interface BanjiService {

	/**
	 */
	public Banji findBanjiByPrimaryKey(String id);

	/**
	 * Save an existing Banji entity
	 * 
	 */
	public void saveBanji(Banji banji);

	/**
	 * Return a count of all Banji entity
	 * 
	 */
	public Integer countBanjis();

	/**
	 * Load an existing Banji entity
	 * 
	 */
	public Set<Banji> loadBanjis();

	/**
	 * Delete an existing Banji entity
	 * 
	 */
	public void deleteBanji(Banji banji_1);

	/**
	 * Return all Banji entity
	 * 
	 */
	public List<Banji> findAllBanjis(Integer startResult, Integer maxRows);
}